package Code.StringJoinerClass;

import java.util.StringJoiner;

public class Demo2 {
    public static void main(String[] args) {

        StringJoiner sj = new StringJoiner(",","[","]");

        sj.add("abc");
        System.out.println(sj.length());
        System.out.println(sj.toString());
    }
}
